cmake_minimum_required(VERSION 2.2)
project(zqbroot)

link_libraries(dl pthread)

ADD_DEFINITIONS(
        -DSQLITE_HAS_CODEC=1
        -DSQLITE_USER_AUTHENTICATION=0
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(SOURCE_FILES
        main.c
        sqlite3secure.c
        )

add_executable(zqbroot ${SOURCE_FILES})
